<template>
	<view class="pageContainer">
		<scroll-view scroll-y="true" class="scroll-main">
			<view class="scroll-item">
				<view class="card-mode">
					<view class="card-title">2025年度职业人员综合测评考试2025年度职业人
						员综合测评考试
					</view>
					<view class="card-content">
						<view class="card-box">
							<view class="card-box-top">60题</view>
							<view class="card-box-bottom">题量</view>
						</view>
						<view class="card-box">
							<view class="card-box-top">100分</view>
							<view class="card-box-bottom">满分</view>
						</view>
						<view class="card-box">
							<view class="card-box-top">120分钟</view>
							<view class="card-box-bottom">时间</view>
						</view>
					</view>
				</view>
				<view class="card-mode">
					<view class="card-section">
						<uni-section class="mb-10" title="题型介绍" type="line"></uni-section>
					</view>
					<view class="card-main">
						<view class="card-main-box">
							<text>单选题</text>
							<text>共10题，10分</text>
						</view>
						<view class="card-main-box">
							<text>多选题</text>
							<text>共10题，10分</text>
						</view>
						<view class="card-main-box">
							<text>填空题</text>
							<text>共10题，10分</text>
						</view>
						<view class="card-main-box">
							<text>判断题</text>
							<text>共10题，10分</text>
						</view>
						<view class="card-main-box">
							<text>问答题</text>
							<text>共10题，10分</text>
						</view>
					</view>
				</view>
				<view class="card-mode">
					<view class="card-section">
						<uni-section class="mb-10" title="考试须知" type="line"></uni-section>
					</view>
					<view class="card-rule">
						1、仅对应专业岗位人员可参与该考试。<br />
						2、考试时间120分钟，在规定时间内答完即可，中途可退出本界面，返回后点击继续考试即可继续考试。<br />
						3、考试及格分为60分，为本季度的考分，请认真仔细作答
					</view>
				</view>
			</view>
		</scroll-view>
		<view class="bottom-mode">
			<button type="primary" class="button-box" @click="examinationOp()">开始考试</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			//开始操作
			examinationOp() {
				uni.redirectTo({
					url: `/pages/examinationManagement/detail/testPaper/detail/index`
				});
			},
			//跳转
			jump(url) {
				uni.navigateTo({
					url: url
				})
			},

		}
	}
</script>

<style scoped lang="scss">
	.pageContainer {
		width: 100vw;
		height: 100vh;
	}

	.scroll-main {
		width: 100%;
		height: calc(100% - 64px);

		.scroll-item {
			width: 100%;
			padding: 10px 10px 20px;
			box-sizing: border-box;
		}
	}

	.card-mode {
		width: 100%;
		padding: 14px 14px 16px;
		box-sizing: border-box;
		background-color: #ffffff;
		border-radius: 6px;
		margin-bottom: 10px;

		.card-title {
			width: 100%;
			line-height: 24px;
			font-size: 16px;
			font-weight: 600;
			color: #000000;
			margin-bottom: 14px;
		}

		.card-content {
			width: 100%;
			height: 66px;
			border-radius: 6px;
			background-color: #F7F8FA;
			padding: 10px 30px;
			box-sizing: border-box;
			align-items: center;
			justify-content: space-between;
			display: flex;

			.card-box {
				height: 100%;

				.card-box-top {
					width: 100%;
					height: 20px;
					line-height: 20px;
					font-size: 15px;
					font-weight: 600;
					color: #231815;
					margin-bottom: 8px;
					align-items: center;
					justify-content: center;
					display: flex;
				}

				.card-box-bottom {
					width: 100%;
					height: 18px;
					line-height: 18px;
					font-size: 14px;
					color: #6B7076;
					margin-bottom: 8px;
					align-items: center;
					justify-content: center;
					display: flex;
				}
			}
		}

		.card-section {
			width: 100%;
			::v-deep {
				.uni-section {
					margin-top: 0;
				}
				.uni-section-header {
					padding: 0;
				}
				.uni-section__content-title{
					font-size: 16px;
					font-weight: 600;
				}
			}
		}

		.card-main {
			width: 100%;

			.card-main-box {
				width: 100%;
				height: 26px;
				line-height: 26px;
				font-size: 14px;
				color: #333333;
				align-items: center;
				justify-content: space-between;
				display: flex;
				padding-left: 10px;
				box-sizing: border-box;
				margin-top: 10px;
			}
		}

		.card-rule {
			width: 100%;
			line-height: 26px;
			font-size: 14px;
			color: #6B6F75;
			padding-left: 10px;
			box-sizing: border-box;
			margin-top: 12px;
		}
	}

	.bottom-mode {
		width: 100%;
		height: 64px;
		padding: 0 20px;
		box-sizing: border-box;
		background-color: #fff;
		border-top: 1px solid #F0F0F0;
		align-items: center;
		justify-content: center;
		display: flex;

		.button-box {
			width: 100%;
			height: 42px;
			border-radius: 100px;
			box-sizing: border-box;
			align-items: center;
			justify-content: center;
			display: flex;
		}
	}
</style>